<div class="contact">
	<div class="span8 form-contact">
		<h1>Contact</h1>

		<div class="form">

		<?php $form=$this->beginWidget('CActiveForm', array(
			'method'=>'post',

			'id'=>'table_customer_payment',
			'enableClientValidation'=>true,
			'clientOptions'=>array(
				'validateOnSubmit'=>true,
		//		'afterValidate'=>'js:sendForm',
			),
			'enableAjaxValidation'=>true,
		)); ?>

			<div class="row">
				<?php # echo $form->labelEx($contact,Yii::t('label','Họ và tên').':'); ?>
				<label for="InfomationCustomerForm_name"><?php echo Yii::t('label','Name');?><span style="color: red;">*</span></label>

				<?php echo $form->textField($contact,'name',array('count'=>0)); ?>
				<?php echo $form->error($contact,'name'); ?>
			</div>

			<div class="row">
				<?php echo $form->labelEx($contact,Yii::t('label','Phone').'<span style="color: red;">*</span>'); ?>
				<?php echo $form->textField($contact,'phone',array('count'=>0)); ?>
				<?php echo $form->error($contact,'phone'); ?>
			</div>

			<div class="row">
				<?php echo $form->labelEx($contact,Yii::t('label','Email').'<span style="color: red;">*</span>'); ?>
				<?php echo $form->textField($contact,'email',array('count'=>0)); ?>
				<?php echo $form->error($contact,'email'); ?>
			</div>

			<div class="row">
				<div class="address_customer">
					<?php # echo $form->labelEx($contact,Yii::t('label','Thông điệp').':'); ?>
					<label ><?php echo Yii::t('label','Message');?>:</label>
					<?php echo $form->textArea($contact,'message',array('name'=>'description','spellcheck'=>'false')); ?>
					<?php echo $form->error($contact,'message'); ?>
				</div>
			</div>

			<?php if(CCaptcha::checkRequirements()): ?>
			<div class="row" >
				<?php # echo $form->labelEx($contact,Yii::t('label','Nhập mã xác minh sau').':'); ?>
				<label ><?php echo Yii::t('label','Enter code');?><span style="color: red;margin-top:4px">*</span>:</label>

				<div>
				<?php echo $form->textField($contact,'verifyCode'); ?>
				<?php $this->widget('CCaptcha',array(
					'buttonLabel'      => 'Refesh Captcha',
				),false); ?>

				</div>
				<div class="hint">
				<?php echo $form->error($contact,'verifyCode'); ?>
			</div>
			</div>
			<?php endif; ?>

			<button type="submit" name="submit_infomation" class="btn btn-inverse"><?php echo Yii::t('label','Send Message');?></button>

		<?php $this->endWidget(); ?>

		</div><!-- form -->

	</div>

	<div class="span3 info-contact">
		<img src="<?php echo Yii::app()->request->baseUrl.'/images/avanta-contact.jpeg' ?>" alt="">

		<h3>TONY GERACE</h3>
		<br>
		<b>Director/Auctioneer</b>
		<br>
		P: 03 9687 1344
		<br>
		M: 0411 121 701
		<br>
		E: tonygerace@burnham.com.au
		<br>
		<br>

		<h3>SONNY TRAN</h3>
		<br>
		sonny@multifieldgroup.com.au
		<br>
		M:0413 511 039

	</div>
</div>